package org.kmfdm.horrorscope.service.beans;

import org.kmfdm.horrorscope.core.dao.ChartDAO;
import org.kmfdm.horrorscope.metamodel.Chart;
import org.kmfdm.horrorscope.metamodel.Customer;
import org.kmfdm.horrorscope.service.CustomerCharts;

import java.util.List;
public class CustomerChartsImpl implements CustomerCharts {
	private ChartDAO daoC;
	
	public List<Chart> customerCharts(Customer c){
		
		return daoC.getCustomersCharts(c);
		
	}

	public ChartDAO getDaoC() {
		return daoC;
	}

	public void setDaoC(ChartDAO daoC) {
		this.daoC = daoC;
	}
}
